package com.xywl.escort.view.pwd;

import com.xywl.escort.di.ActivityScoped;
import com.xywl.escort.di.FragmentScoped;
import com.xywl.escort.view.user.register.RegisterActivity;
import com.xywl.escort.view.user.register.RegisterContract;
import com.xywl.escort.view.user.register.RegisterPresenter;

import dagger.Binds;
import dagger.Module;
import dagger.android.ContributesAndroidInjector;

@Module
public abstract class RecoverPwdModule {

    @FragmentScoped
    @ContributesAndroidInjector
    abstract RecoverPwdActivity recoverPwdActivity();

    @ActivityScoped
    @Binds
    abstract RecoverPwdContract.Presenter recoverPwdPresenter(RecoverPwdPresenter presenter);
}
